<%-- 
    Document   : dvdPage
    Created on : Feb 25, 2012, 8:20:49 PM
    Author     : inahbanana
--%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.text.DateFormat"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@page import="DBConnection.ConnectionFactory"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>DVDs</title>
        <link rel = "stylesheet" href= "main.css" type="text/css"/>
        <link rel = "stylesheet" href= "menu.css" type="text/css"/>
        <link rel = "stylesheet" href= "loginreg.css" type="text/css"/>
    </head>
    <body>
         <%
         String remoteAdd = request.getRemoteAddr();
        String Address = (String)session.getAttribute("IPAdd");
        String username = (String)session.getAttribute("username");
        
        if((String)session.getAttribute("username")== null)
            {
            response.sendRedirect("home.jsp");
            }
               
                             
             
        else{ %>
                 
   
          <label class="welcomemessage"> <% out.print("Welcome ");
                out.print(username);
                      out.println("!"); }%></label>
        <%--header--%>
        <div id="header">
           
        </div>
        <%--header--%>
        
        
        <%--menu--%>
        <div id="tabs24">   
             <ul>          
                <li><a href="aboutusPage.jsp" >About Us</a></li>
                <li><a href="userHomePage.jsp" >Home</a></li>
                <li><a href="bookPage.jsp" >Books</a></li>
                <li><a href="magPage.jsp" >Magazines</a></li>
                <li><a href="audioPage.jsp" >Audio CDs</a></li>
                <li><a href="dvdPage.jsp" >DVDs</a></li>
                <li><a href="creditCard.jsp" >Manage Credit Cards</a></li>
             </ul>   
        </div>
        <%--menu--%>
        
        <%--centercontent--%>
        
        <div id="maincontainer">
           <label>BESTSELLERS</label>
           <div id="BestSellersContainer">
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="dvd\dvdEclipse.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">Eclipse</div>
                    <p class="details"> Bella once again finds herself surrounded by danger as Seattle is ravaged by a string of mysterious killings and a malicious vampire continues her quest for revenge. In the midst of it all, she is forced to choose between her love for Edward and her friendship with Jacob -- knowing that her decision has the potential to ignite the struggle between vampire and werewolf. With her graduation quickly approaching, Bella is confronted with the most important decision of her life.</p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>           
               </div>
               </div>
               </div>
           <br>
           <br>
           <br>
           <%-- NEXT FEATURED --%>  
           <br>
               <div class="feat_prod_box">
               <div class="prod_img"><img class="thumb" width="129" height="208" src ="dvd\dvdNM.jpg" /></div>
               <div class="box_top"></div>
               <div class="prod_det_box">
               <div class="box_center">
                    <div class="prod_title">New Moon</div>
                    <p class="details">After Bella recovers from the vampire attack that almost claimed her life, she looks to celebrate her birthday with Edward and his family. However, a minor accident during the festivities results in Bella's blood being shed, a sight that proves too intense for the Cullens, who decide to leave the town of Forks, Washington for Bella and Edward's sake. Initially heartbroken, Bella finds a form of comfort in reckless living, as well as an even-closer friendship with Jacob Black. Danger in different forms awaits.</p>
                    <a href="details.html" class="more">- more details -</a>
                    <div class="clear"></div>
               </div>
               </div>
               </div>
           
           
           </div>
       </div>
    <center>
        <form class="viewBooks" name="viewBooks" method="post" action="viewDvds.jsp">
            <input type="submit" name="viewDvds" value="View DVDs"/>
        </form>
    </center>
       <%--centercontent--%>
    </body>
</html>
